<html>
<head>
<title>firstworks   Programming with Rudiments using the unixsocketclient class</title>
<link href="../css/styles.css" rel="stylesheet">
</head>
<body>

<span class="heading">Programming with Rudiments using the unixsocketclient class</span><br><br>

<p>Here's the code for a client that can communicate with the <a href="unixsocketserver.html">unixsocketserver program</a>.  This client sends a string to the server, reads what the server sends back and prints it out.</p>

<img src="../images/traffic_cone.png"/>

<p>Coming soon...</p>

<blockquote class="code">

<script type='text/javascript'>
<!--

-->
</script>
<font face="monospace">
<font color="#2e8b57"><b>int</b></font>&nbsp;main(<font color="#2e8b57"><b>int</b></font>&nbsp;argc,&nbsp;<font color="#2e8b57"><b>const</b></font>&nbsp;<font color="#2e8b57"><b>char</b></font>&nbsp;**argv) {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000ff">//&nbsp;</font><span style="background-color: #ffff00"><font color="#0000ff">FIXME</font></span><font color="#0000ff">: example...</font><br>
}<br>
</font>
<!-- vim: set foldmethod=manual : -->
</blockquote>

<p>Unix sockets allow clients and servers on the same machine to communicate.  See the <a href="inetsocketserver.html">inetsocketserver</a> and <a href="inetsocketclient.html">inetsocketclient</a> examples for clients and servers that can communcate across a network.</p>

</body>
</html>
